﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace GPDAexplorer
{
	//文件节点基类
	abstract class Pnode
	{
		int oft;
		int size;
		string name;
        int Offset { get { return oft; } }
        int Length { get { return size; } }
        string FileName { get { return name; } }
		public Pnode(int o, int s, string n)
		{
			oft = o;
			size = s;
			name = n;
		}
	};
	//gpda类
	class Pgpda : Pnode
	{
        int Count { get { return cnt; } }
		int cnt;
		ArrayList items;
        public Pgpda(int o, int s, int c, string n):base(o,s,n)
        {
            items = new ArrayList();
            cnt = c;
        }
        public void add(Pnode node)
        {
            items.Add(node);
        }
	}
}
